/**
 * Created by zenglin on 2017/1/17.
 */
import java.util.Scanner;
public class ComputerAreaWithConsoleInput {
    public static void main(String[] args){
        //Create a scanner object
        Scanner input = new Scanner(System.in);

        //Prompt the user to enter a radious
        System.out.println("Enter a number for radius");
        double radius = input.nextDouble();

        //Compute area
        double area = radius * radius * 3.14159;

        //Display result
        System.out.println("The area for the circle of radius " +radius + " is "
        + area);
    }
}
